package com.tjnu.losca.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author losca
 * @since 2022-02-13
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class Ordergood implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(type = IdType.AUTO)
    private Integer id;

    @TableField("orderNo")
    private Integer orderNo;

    @TableField("productId")
    private Integer productId;

    @TableField("productName")
    private String productName;

    @TableField("currentUnitPrice")
    private Integer currentUnitPrice;

    private Integer quantity;

    @TableField("totalPrice")
    private Integer totalPrice;

    private Integer status;

    private String imgurl;


}
